package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuPeiXunSavePO;
import com.ct.application.shipping.model.po.ChuanYuanZhengShuSavePO;
import com.ct.application.shipping.model.po.ChuanYuanZhengShuSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuPeiXunVO;
import com.ct.application.shipping.model.vo.ChuanYuanZhengShuVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanZhengShuDO;

import java.util.List;

/**
 * <p>
 * 船员证书 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanZhengShuService extends IBaseService<ChuanYuanZhengShuDO> {

    Page<ChuanYuanZhengShuVO> findChuanYuanZhengShu(ChuanYuanZhengShuSearchPO searchPO);

    List<ChuanYuanZhengShuVO> findChuanYuanZhengShusBiao();

    boolean saveChuanYuanZhengShu(ChuanYuanZhengShuSavePO savePO);

    boolean updateChuanYuanZhengShu(ChuanYuanZhengShuSavePO savePO);

    boolean delChuanYuanZhengShu(Long id);

    ChuanYuanZhengShuVO getChuanYuanZhengShu(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
